﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 导入分录DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfISVImportEntryDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfISVImportEntryDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					AmountDr=0m; 
					AmountCr=0m; 
					SerialNo= 0; 
				
		
					ExtraExecutedMoney=0m; 
		
		
					AccountedDr=0m; 
					AccountedCr=0m; 
					EnteredDr=0m; 
					EnteredCr=0m; 
		
					ExchangeRateTypes= 0; 
							OCToFCExchangeRate=0m; 
		
		
		
		
		
					EntryID= 0; 
				
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.EntryMemoBooks!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfISVImportEntryMemoBookDTOData objdata in this.EntryMemoBooks)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        			if (this.Description != null) 
			{
				this.Description.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        			if (this.Account != null) 
			{
				this.Account.DoSerializeKeyList(dict);
			}
	        	        			if (this.SettlementMethod != null) 
			{
				this.SettlementMethod.DoSerializeKeyList(dict);
			}
	        			if (this.IncomeExpendItem != null) 
			{
				this.IncomeExpendItem.DoSerializeKeyList(dict);
			}
	        	        	        	        	        			if (this.Currency != null) 
			{
				this.Currency.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.TaskCode != null) 
			{
				this.TaskCode.DoSerializeKeyList(dict);
			}
	        			if (this.ProjectCode != null) 
			{
				this.ProjectCode.DoSerializeKeyList(dict);
			}
	        			if (this.Voucher != null) 
			{
				this.Voucher.DoSerializeKeyList(dict);
			}
	        			if (this.BankAccount != null) 
			{
				this.BankAccount.DoSerializeKeyList(dict);
			}
	        			if (this.ISVImportVoucherDTO != null) 
			{
				this.ISVImportVoucherDTO.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.CashAccount != null) 
			{
				this.CashAccount.DoSerializeKeyList(dict);
			}
	        	        			if (this.CopyOfISVImportVoucherDTO != null) 
			{
				this.CopyOfISVImportVoucherDTO.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfISVImportEntryDTOData(  List<ufida.u9.ait.openapi.CopyOfISVImportEntryMemoBookDTOData> entryMemoBooks  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData description  , UFIDA.U9.Base.UOM.UOMData uOM  , System.Decimal amountDr  , System.Decimal amountCr  , System.Int32 serialNo  , System.String abstracts  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData account  , System.Decimal extraExecutedMoney  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData settlementMethod  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData incomeExpendItem  , System.Decimal accountedDr  , System.Decimal accountedCr  , System.Decimal enteredDr  , System.Decimal enteredCr  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData currency  , System.Int32 exchangeRateTypes  , System.Decimal oCToFCExchangeRate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData taskCode  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData projectCode  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData voucher  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData bankAccount  , ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData iSVImportVoucherDTO  , System.Int64 entryID  , System.String nMDocNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData cashAccount  , System.DateTime bankReturnDate  , ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData copyOfISVImportVoucherDTO  )
		{
			initData();
			this.EntryMemoBooks = entryMemoBooks;
			this.Description = description;
			this.UOM = uOM;
			this.AmountDr = amountDr;
			this.AmountCr = amountCr;
			this.SerialNo = serialNo;
			this.Abstracts = abstracts;
			this.Account = account;
			this.ExtraExecutedMoney = extraExecutedMoney;
			this.SettlementMethod = settlementMethod;
			this.IncomeExpendItem = incomeExpendItem;
			this.AccountedDr = accountedDr;
			this.AccountedCr = accountedCr;
			this.EnteredDr = enteredDr;
			this.EnteredCr = enteredCr;
			this.Currency = currency;
			this.ExchangeRateTypes = exchangeRateTypes;
			this.OCToFCExchangeRate = oCToFCExchangeRate;
			this.TaskCode = taskCode;
			this.ProjectCode = projectCode;
			this.Voucher = voucher;
			this.BankAccount = bankAccount;
			this.ISVImportVoucherDTO = iSVImportVoucherDTO;
			this.EntryID = entryID;
			this.NMDocNo = nMDocNo;
			this.CashAccount = cashAccount;
			this.BankReturnDate = bankReturnDate;
			this.CopyOfISVImportVoucherDTO = copyOfISVImportVoucherDTO;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 导入备查集合DTO
		/// 导入分录DTO Copy.Misc.导入备查集合DTO
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfISVImportEntryMemoBookDTOData> m_entryMemoBooks ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfISVImportEntryMemoBookDTOData> EntryMemoBooks
		{
			get	
			{	
				if (m_entryMemoBooks == null )
				{
					List<ufida.u9.ait.openapi.CopyOfISVImportEntryMemoBookDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfISVImportEntryMemoBookDTOData>() ;
					m_entryMemoBooks = n_m_list ;
				}
				return m_entryMemoBooks ;
			}
			set	
			{	
				m_entryMemoBooks = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 导入分录DTO Copy.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_description ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData Description
		{
			get	
			{	
				return m_description ;
			}
			set	
			{	
				m_description = value ;	
			}
		}
			
		

		/// <summary>
		/// 计量单位
		/// 导入分录DTO Copy.Misc.计量单位
		/// </summary>
		private UFIDA.U9.Base.UOM.UOMData m_uOM ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.Base.UOM.UOMData UOM
		{
			get	
			{	
				return m_uOM ;
			}
			set	
			{	
				m_uOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 借方数量
		/// 导入分录DTO Copy.Misc.借方数量
		/// </summary>
		private System.Decimal m_amountDr ;
		[DataMember(IsRequired=false)]
		public System.Decimal AmountDr
		{
			get	
			{	
				return m_amountDr ;
			}
			set	
			{	
				m_amountDr = value ;	
			}
		}
			
		

		/// <summary>
		/// 贷方数量
		/// 导入分录DTO Copy.Misc.贷方数量
		/// </summary>
		private System.Decimal m_amountCr ;
		[DataMember(IsRequired=false)]
		public System.Decimal AmountCr
		{
			get	
			{	
				return m_amountCr ;
			}
			set	
			{	
				m_amountCr = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 导入分录DTO Copy.Misc.行号
		/// </summary>
		private System.Int32 m_serialNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 SerialNo
		{
			get	
			{	
				return m_serialNo ;
			}
			set	
			{	
				m_serialNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 摘要
		/// 导入分录DTO Copy.Misc.摘要
		/// </summary>
		private System.String m_abstracts ;
		[DataMember(IsRequired=false)]
		public System.String Abstracts
		{
			get	
			{	
				return m_abstracts ;
			}
			set	
			{	
				m_abstracts = value ;	
			}
		}
			
		

		/// <summary>
		/// 会计科目
		/// 导入分录DTO Copy.Misc.会计科目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_account ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Account
		{
			get	
			{	
				return m_account ;
			}
			set	
			{	
				m_account = value ;	
			}
		}
			
		

		/// <summary>
		/// 超预算执行金额
		/// 导入分录DTO Copy.Misc.超预算执行金额
		/// </summary>
		private System.Decimal m_extraExecutedMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal ExtraExecutedMoney
		{
			get	
			{	
				return m_extraExecutedMoney ;
			}
			set	
			{	
				m_extraExecutedMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 结算方式
		/// 导入分录DTO Copy.Misc.结算方式
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_settlementMethod ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SettlementMethod
		{
			get	
			{	
				return m_settlementMethod ;
			}
			set	
			{	
				m_settlementMethod = value ;	
			}
		}
			
		

		/// <summary>
		/// 收支项目
		/// 导入分录DTO Copy.Misc.收支项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_incomeExpendItem ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IncomeExpendItem
		{
			get	
			{	
				return m_incomeExpendItem ;
			}
			set	
			{	
				m_incomeExpendItem = value ;	
			}
		}
			
		

		/// <summary>
		/// 本币借方金额
		/// 导入分录DTO Copy.Misc.本币借方金额
		/// </summary>
		private System.Decimal m_accountedDr ;
		[DataMember(IsRequired=false)]
		public System.Decimal AccountedDr
		{
			get	
			{	
				return m_accountedDr ;
			}
			set	
			{	
				m_accountedDr = value ;	
			}
		}
			
		

		/// <summary>
		/// 本币贷方金额
		/// 导入分录DTO Copy.Misc.本币贷方金额
		/// </summary>
		private System.Decimal m_accountedCr ;
		[DataMember(IsRequired=false)]
		public System.Decimal AccountedCr
		{
			get	
			{	
				return m_accountedCr ;
			}
			set	
			{	
				m_accountedCr = value ;	
			}
		}
			
		

		/// <summary>
		/// 原币借方金额
		/// 导入分录DTO Copy.Misc.原币借方金额
		/// </summary>
		private System.Decimal m_enteredDr ;
		[DataMember(IsRequired=false)]
		public System.Decimal EnteredDr
		{
			get	
			{	
				return m_enteredDr ;
			}
			set	
			{	
				m_enteredDr = value ;	
			}
		}
			
		

		/// <summary>
		/// 原币贷方金额
		/// 导入分录DTO Copy.Misc.原币贷方金额
		/// </summary>
		private System.Decimal m_enteredCr ;
		[DataMember(IsRequired=false)]
		public System.Decimal EnteredCr
		{
			get	
			{	
				return m_enteredCr ;
			}
			set	
			{	
				m_enteredCr = value ;	
			}
		}
			
		

		/// <summary>
		/// 货币
		/// 导入分录DTO Copy.Misc.货币
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_currency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Currency
		{
			get	
			{	
				return m_currency ;
			}
			set	
			{	
				m_currency = value ;	
			}
		}
			
		

		/// <summary>
		/// 汇率类型
		/// 导入分录DTO Copy.Misc.汇率类型
		/// </summary>
		private System.Int32 m_exchangeRateTypes ;
		[DataMember(IsRequired=false)]
		public System.Int32 ExchangeRateTypes
		{
			get	
			{	
				return m_exchangeRateTypes ;
			}
			set	
			{	
				m_exchangeRateTypes = value ;	
			}
		}
			
		

		/// <summary>
		/// 对本币汇率
		/// 导入分录DTO Copy.Misc.对本币汇率
		/// </summary>
		private System.Decimal m_oCToFCExchangeRate ;
		[DataMember(IsRequired=false)]
		public System.Decimal OCToFCExchangeRate
		{
			get	
			{	
				return m_oCToFCExchangeRate ;
			}
			set	
			{	
				m_oCToFCExchangeRate = value ;	
			}
		}
			
		

		/// <summary>
		/// 任务编号
		/// 导入分录DTO Copy.Misc.任务编号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_taskCode ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TaskCode
		{
			get	
			{	
				return m_taskCode ;
			}
			set	
			{	
				m_taskCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目编号
		/// 导入分录DTO Copy.Misc.项目编号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_projectCode ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ProjectCode
		{
			get	
			{	
				return m_projectCode ;
			}
			set	
			{	
				m_projectCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 凭证
		/// 导入分录DTO Copy.Misc.凭证
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_voucher ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Voucher
		{
			get	
			{	
				return m_voucher ;
			}
			set	
			{	
				m_voucher = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行账号
		/// 导入分录DTO Copy.Misc.银行账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_bankAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData BankAccount
		{
			get	
			{	
				return m_bankAccount ;
			}
			set	
			{	
				m_bankAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 导入凭证DTO
		/// 导入分录DTO Copy.Misc.导入凭证DTO
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData m_iSVImportVoucherDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData ISVImportVoucherDTO
		{
			get	
			{	
				return m_iSVImportVoucherDTO ;
			}
			set	
			{	
				m_iSVImportVoucherDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 分录ID
		/// 导入分录DTO Copy.Misc.分录ID
		/// </summary>
		private System.Int64 m_entryID ;
		[DataMember(IsRequired=false)]
		public System.Int64 EntryID
		{
			get	
			{	
				return m_entryID ;
			}
			set	
			{	
				m_entryID = value ;	
			}
		}
			
		

		/// <summary>
		/// 票据号
		/// 导入分录DTO Copy.Misc.票据号
		/// </summary>
		private System.String m_nMDocNo ;
		[DataMember(IsRequired=false)]
		public System.String NMDocNo
		{
			get	
			{	
				return m_nMDocNo ;
			}
			set	
			{	
				m_nMDocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 现金账号
		/// 导入分录DTO Copy.Misc.现金账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_cashAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CashAccount
		{
			get	
			{	
				return m_cashAccount ;
			}
			set	
			{	
				m_cashAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行回单日期
		/// 导入分录DTO Copy.Misc.银行回单日期
		/// </summary>
		private System.DateTime m_bankReturnDate ;
		[DataMember(IsRequired=false)]
		public System.DateTime BankReturnDate
		{
			get	
			{	
				return m_bankReturnDate ;
			}
			set	
			{	
				m_bankReturnDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 导入凭证DTO Copy
		/// 导入分录DTO Copy.Misc.导入凭证DTO Copy
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData m_copyOfISVImportVoucherDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData CopyOfISVImportVoucherDTO
		{
			get	
			{	
				return m_copyOfISVImportVoucherDTO ;
			}
			set	
			{	
				m_copyOfISVImportVoucherDTO = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																																								
		#endregion 
	} 	
}
